<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%>
    
        <h1>Menu</h1> 
 
          <div class="menu"> 
            <h2 id="header_admin"><a href="#">Admin</a></h2> 
            <div id="panel_admin"> 
             
             
             <security:authorize ifAnyGranted="ROLE_SYSADMIN">
             	 <a href="">Add Organization</a><br/>
           		<a href="">View Organizations</a><br/>
             </security:authorize>
				
           		<security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN">
           			<a href="">Add Group</a><br/>
	           		<a href="">View Groups</a><br/>
	           		
	           		<a href="">Add Group Manager</a><br/>
	           		<a href="">View Group Managers</a><br/>
           		</security:authorize>
           		
           		<security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN, ROLE_GROUPMANAGER">
           		
	           		<a href="">Add Operator</a><br/>
	           		<a href="">View Operators</a><br/>
	           		
	           		<a href="">Add Tester</a><br/>
	           		<a href="">View Testers</a><br/>
           		
           		</security:authorize>
           		
           		<security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN">
	           		<a href="">Software</a><br/>
	           		<a href="">DDF</a><br/>
           		</security:authorize>
           		
           		<a href="">My Account</a><br/>
           		
            </div> 
            <h2 id="header_device"><a href="#">Device</a></h2> 
            <div id="panel_device"> 
            	
            	<a href="">Search</a><br/>
            	<a href="">Adv Search</a><br/>

<!--  FIXME who can do these next 2 things? Where do they go? -->            	           		
            	<a href="">Trees</a><br/>
           		<a href="">Provisioning</a><br/>
           		
           		
              <security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN">      
              
           		<a href="">Add Device Type</a><br/>
           		<a href="">View Device Types</a><br/>
           		
           		<a href="">Add Chipset</a><br/>
           		<a href="">View Chipsets</a><br/>
           		
           		<a href="">Block Device(s)</a><br/>
           		<a href="">Blacklist Device(s)</a><br/>
           		</security:authorize>
           		
            
            </div> 
            
            <security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN">
            <h2 id="header_services"><a href="#">Services</a></h2> 
            <div id="panel_services">       
            	<a href="">Add Service</a><br/>
            	<a href="">View Services</a><br/>
            	<a href="">Add RAN Types</a><br/>
            	<a href="">View RAN Types</a><br/>
             </div> 
             </security:authorize>
             
            <security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN">
              <h2 id="header_campaigns"><a href="#">Campaigns</a></h2> 
            <div id="panel_campaigns"> 
            
	            <a href="">Add Campaign</a><br/>
            	<a href="">View Campaigns</a><br/>
            	<!-- can edit and delete from campaign screen. behind scenes we delete and start over. safe and simple. -->
            
             </div> 
             </security:authorize>
             
               <security:authorize ifAnyGranted="ROLE_SYSADMIN, ROLE_ORGADMIN, ROLE_TESTER">
             <h2 id="header_testing"><a href="#">Testing</a></h2> 
            <div id="panel_testing"> 
            
	            <a href="">Add Test Device</a><br/>
            	<a href="">View Test Devices</a><br/>
            	<a href="">Add Test Tree</a><br/>
            	<a href="">View Test Trees</a><br/>
            	  
           		<a href="">Add Firmware</a><br/>
           		<a href="">View Firmware</a><br/>
           		<a href="">Add Software</a><br/>
           		<a href="">View Software</a><br/>
           	<!-- is approve a function on a sw/fw screen or a menu item? -->
            	
           		
            	
             </div> 
             </security:authorize>
             
             
              <h2 id="header_reports"><a href="#">Reports</a></h2> 
            <div id="panel_reports"> 
            
            	<a href="">Campaign Status</a><br/>
            	<a href="">Test devices</a><br/>
            	<a href="">CALEA</a><br/>
            	<a href="">Offender devices</a><br/>
            	<a href="">Blocked devices</a><br/>
            	<a href="">Blacklisted devices</a><br/>
            	<a href="">Flagged Devices</a><br/>
            	<a href="">Operator Report</a><br/>
            
             </div> 
            
          </div> 
 